/*Ext.application({
    name: 'app',
    launch: function() {
        Ext.create('Ext.container.Viewport', {
            layout: 'fit',
            items: [menuPanel]
        });
    }
});*/

var tabPanel = Ext.create('Ext.tab.Panel', {
    width: '100%',
    height: 500,
    activeTab: 0,
    plain: true,
    items: [
        {
            title: 'Administracion',
            bodyPadding: 10,
            items: [panelEspecificaciones,{xtype: 'splitter', height: 20}, panelAceptacion, {xtype: 'splitter', height: 20}, panelNorma]
        },
        {
            title: 'Control',
            items: [panelControl]
        },
        {
            title: 'Reportes',
            html: 'No disponible en el prototipo'
        }
    ],
    renderTo : Ext.getBody()
});

Ext.application({
    name: 'Control Calidad de Cigueñales',
    launch: function() {
        Ext.create('Ext.container.Viewport', {
			title: 'Center Layout',
			layout: 'auto',
			width: 200,
			height: 100,
			//items: [panelEspecificaciones, boton, panelControl],
            items: [tabPanel],
			renderTo: Ext.getBody()
		});
    }
});


